
package cn.iocoder.yudao.module.api.pay.bill.dto;

import cn.iocoder.yudao.module.api.pay.bill.enums.BillCategoryEnum;
import cn.iocoder.yudao.module.api.pay.bill.enums.BillTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 *  创建账单流水
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2024/12/17
 */
@Data
@Accessors(chain = true)
public class PayBillCreateDTO {

    @Schema(description = "用户编号", example = "12345")
    private Long userId;

    @Schema(description = "资产种类，如：零钱、佣金、联盟豆", example = "零钱")
    private BillCategoryEnum category;

    @Schema(description = "明细类型，如：购物消费、提现、签到", example = "购物消费")
    private BillTypeEnum type;

    @Schema(description = "当前变动的资产值，若是人民币则单位为分", example = "100")
    private Double number;

    @Schema(description = "备注，如：日签奖励积分、用户申请提现后扣除零钱、用户注册之后发放贡献值", example = "日签奖励积分")
    private String mark;

    @Schema(description = "扩展信息", example = "{}")
    private String extendField;

    @Schema(description = "关联编号，如交易单号", example = "TX123456789")
    private String relateId;

}